package cn.itsource.hrm.service;

import cn.itsource.hrm.controller.vo.TenantVo;
import cn.itsource.hrm.domain.Tenant;
import cn.itsource.hrm.query.TenantQuery;
import cn.itsource.util.PageList;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenyuqi
 * @since 2020-05-23
 */
public interface ITenantService extends IService<Tenant> {
    /**
     * 高级查询分页
     * @param query
     * @return
     */
    PageList<Tenant> pageList(TenantQuery query);

    /**
     * 机构注册
     * @param tenantVo
     */
    void register(TenantVo tenantVo);
}
